﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Types
{
    [Serializable]
    public class UserType
    {
        public string username { get; private set; }
        public string password { get; private set; }
        public string firstName { get; private set; }
        public string lastName { get; private set; }
        public string id { get; private set; }
        public int year { get; private set; }

        public UserType(string username)
            : this(username, "", "", "", "", 0)
        { }

        public UserType(string username, string password)
            : this(username, password, "", "", "", 0)
        { }

        public UserType(string username, string password, string firstName, string lastName, string id, int year)
        {
            this.username = username;
            this.password = password;
            this.firstName = firstName;
            this.lastName = lastName;
            this.id = id;
            this.year = year;
        }
    }
}
